﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace fcwms.Model
{
    /// <summary>
    /// 库位信息
    /// </summary>
    [Serializable]
    public partial class dt_location
    {
        public dt_location()
        { }
        #region Model
        private int _id;
        private string _decla_id = "";
        private string _position = "";
        private string _storage_id = "";
        private string _shelf_id = "";
        private string _floor_id = "";
        private string _line_id = "";
        private int _is_exist = 0;
        /// <summary>
        /// 自增id
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 报关单号
        /// </summary>
        public string decla_id
        {
            set { _decla_id = value; }
            get { return _decla_id; }
        }
        /// <summary>
        /// 库位
        /// </summary>
        public string position
        {
            set { _position = value; }
            get { return _position; }
        }
        /// <summary>
        /// 仓库编号
        /// </summary>
        public string storage_id
        {
            set { _storage_id = value; }
            get { return _storage_id; }
        }
        /// <summary>
        /// 货架号
        /// </summary>
        public string shelf_id
        {
            set { _shelf_id = value; }
            get { return _shelf_id; }
        }
        /// <summary>
        /// 层号
        /// </summary>
        public string floor_id
        {
            set { _floor_id = value; }
            get { return _floor_id; }
        }
        /// <summary>
        /// 位号
        /// </summary>
        public string line_id
        {
            set { _line_id = value; }
            get { return _line_id; }
        }
        /// <summary>
        /// 库位是否有货  0:有货 1:无货
        /// </summary>
        public int is_exist
        {
            set { _is_exist = value; }
            get { return _is_exist; }
        }
        #endregion Model

        private List<dt_location> _dt_locations;
        /// <summary>
        /// 权限子类 
        /// </summary>
        public List<dt_location> dt_locations
        {
            set { _dt_locations = value; }
            get { return _dt_locations; }
        }
    }
}
